<?php defined( '_VALID_MOS' ) or die( include_once("../../404.php") );
$sql = "SELECT `news`.`News_Id`, `news`.`Title`, `news`.`Description`, `news`.`Content`, Date_Format(`news`.`Date`, '%d/%m/%Y') AS `date_add`, `news`.`Order`, `news`.`CatID`
		FROM `news`
		WHERE `news`.`News_Id` = ? AND `news`.`Status` = 1";
$cmd = $mysqli->prepare($sql);
$cmd->bind_param("s", $_GET["nid"]);
$cmd->execute() or die($mysqli->error);
$cmd->bind_result($News_Id, $sTitle, $Description, $Content, $date_add, $Order, $CatID);
$cmd->store_result();
if($cmd->fetch()){
?>
	
<div id="box_article">
<div class="tt_right"><div class="tt_left"><div class="tt"> Thông tin chi tiết</div></div></div>
<div id="sub_box_tinmoi">
	<div id="sub_box_tinmoi1">
		<div class="ct_right">
			<div class="ct">
				<?php 
					echo "<div id=\"title\">$sTitle</div>";			
					echo "<div id=\"description\">$Description</div>";
					echo "<div id=\"content\">$Content</div>";
					echo "<div id=\"banin\">";
					echo "<img src=\"templates/sadico_blue/images/icon_in.gif\"> &nbsp;<a href=\"JavaScript:window.print()\">Bản in</a>&nbsp;&nbsp;";
					echo "<img src=\"templates/sadico_blue/images/icon_undo.gif\"><a href=\"javascript:history.back(1);\">Quay lại</a>";
					echo "</div>";				
				?>
				<br>
			</div>
		</div>
		<div class="bt_right"><div class="bt_left"><div class="bt"></div></div></div>										
		</div>
	</div>
	<div class="clear"></div>
</div>

<?php
}
$cmd->close();
$mysqli->close();
?>